package cn.john.user.constants;

public class UserConstants {
    /* 注册验证码的前缀 */
    public static final String REGISTER_PHONE_PREFIX = "register_phone_prefix:";
    public static final String BINDER_PHONE_PREFIX = "binder_phone_prefix:";

    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    /* 获取token请求的url */
    public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    /* 获取微信信息的url*/
    public static final String GET_WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
